package cn.edu.scau.cmi.wuyihan.exercise4;

public class ComputeFactorial {
      int getFactorial(int number) {
    	  int sum=1;
    	  for(int j=1;j<=number;j++) {
    		  sum*=j;
    	  }
    	  return sum;
      }
}
